#ifndef PATH_FOLLOW_BEHAVIOUR_H_
#define PATH_FOLLOW_BEHAVIOUR_H_

/* Used AStar path finding to seek to a target, and used wall avoidance
   an object avoidance
*/
#include "BehaviourI.h"
#include <list>
class PathFollowBehaviour : public BehaviourI
{
public:
    PathFollowBehaviour(): m_seek(NULL),m_seekType(-1){}
    ~PathFollowBehaviour(){if (m_seek) delete m_seek;}
    virtual void CalcMotion(float* motion, BehaviourInfo* info, float weighting);

private:
    BehaviourI* m_seek;
    int m_seekType; //0 for seek, 1 for arrive, -1 for nothing
};
#endif